package com.example.dell.fastshopping.user.bank;

import java.io.Serializable;

/**
 * Created by ${YSH} on 2019/5/21.
 * 描述        ${TODO}
 * <p>
 * 更新者       $author$
 * 更新时间     $Data$
 * 描述         ${TODO}
 */
public class BankCard implements Serializable {
    private String bank;
    private String stat;
    private boolean validated;
    private String cardType;
    private String bankName;
    private String cardId;
    private String key;
    private String userName;
    private String phone;
    private int id;
    private String idCard;

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone == null ? "" : phone;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public void setStat(String stat) {
        this.stat = stat;
    }

    public void setValidated(boolean validated) {
        this.validated = validated;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public void setBankName(String bankNam) {
        this.bankName = bankNam;
    }

    public String getBank() {
        return bank;
    }

    public String getStat() {
        return stat;
    }

    public boolean isValidated() {
        return validated;
    }

    public String getCardType() {
        return cardType;
    }

    public String getBankName() {
        return bankName;
    }

    public String getKey() {
        return key;
    }

    public int getId() {
        return id;
    }

    public String getCardId() {
        return cardId;
    }
}
